package com.intellagric.service.traceability.trace_supplier;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.SupplierVo;
import com.intellagric.pojo.TraceSupplier;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/11/6
 * @DESC： 公司信息管理服务接口
 */
public interface SupplierService {

    //增加场地信息
    ResponseMessage addSupplier(TraceSupplier supplier);

    //删除场地信息
    ResponseMessage deleteSupplier(String id);

    //修改场地信息
    ResponseMessage editSupplier(TraceSupplier supplier);

    //查询场地信息
    TraceSupplier getSupplierById(String id);
    LayuiDataGridResult getSupplierList();
    LayuiDataGridResult getSupplierPage(int page, int rows);
    LayuiDataGridResult getSupplierByVo(int page, int rows, String companeName);
    
}
